package org.zju.demo.shoppingdemo.model;

import com.orm.SugarRecord;
import com.orm.dsl.Ignore;

/**
 * Created by ZJDX on 2015/9/13.
 */
public class Product extends SugarRecord<Product>{
    private int productId;
    private String productName;
    private float price;
    private int amount;
    private String company;

    @Ignore
    private String imageUrl;
    @Ignore
    private int number;


    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getImageUrl() {
        return imageUrl;

    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }
}
